﻿
using System.Collections.Generic;
using wt.wine.Domain.Entities;

namespace wt.wine.Application.UserTables
{
    public class LoginDTO
    {
        /// <summary>
        /// 用户id
        /// </summary>
        public int id { get; set; }
        /// <summary>
        /// 账号
        /// </summary>
        public string account { get; set; }
        /// <summary>
        /// 角色id
        /// </summary>
        public int roleid { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string address { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>
        public string roleName { get; set; }
        /// <summary>
        /// 当前角色状态： 1 平台账号  2、经销商管理员 3 员工
        /// </summary>
        public int? roletype { get; set; }
        /// <summary>
        /// 角色权限
        /// </summary>
        public List<menutable> roleList { get; set; }
        /// <summary>
        /// jwt 
        /// </summary>
        public string token { get; set; }
    }
}
